package com.ruoyi.index.domain;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class FhIndexPostinfoAndIsLike extends FhIndexPostinfo{
    private FhIndexPostinfo fhIndexPostinfo;
    private Boolean isLike;

    public FhIndexPostinfo getFhIndexPostinfo() {
        return fhIndexPostinfo;
    }

    public void setFhIndexPostinfo(FhIndexPostinfo fhIndexPostinfo) {
        this.fhIndexPostinfo = fhIndexPostinfo;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }

    public FhIndexPostinfoAndIsLike() {
    }

    public FhIndexPostinfoAndIsLike(Long id, Long userId, String waterName, String userName, String userImage,
                                    String longitude, String latitude, String userLocation, String locationType,
                                    String postImages, String shareName, String hotWords, String postText,
                                    LocalDateTime postTime, String equips, String fishingPractice, String weather,
                                    String temperature, String sd, String fishIds, Long likes, Long comments,
                                    Long retweets, String weight, String status, Integer recommend, LocalDateTime createTime) {
        super(id, userId, waterName, userName, userImage, longitude, latitude, userLocation, locationType,
                postImages, shareName, hotWords, postText, postTime, equips, fishingPractice, weather,
                temperature, sd, fishIds, likes, comments, retweets, weight, status, recommend, createTime);
    }
}
